package com.etogc.groupchat.bean;

import java.io.Serializable;

public class UserInfoBean extends BaseBean<UserInfoBean.UserInfo> implements Serializable {

    public class UserInfo {
        private User user;

        public User getUser() {
            return user;
        }

        public void setUser(User user) {
            this.user = user;
        }

        @Override
        public String toString() {
            return "UserInfo{" +
                    "user=" + user +
                    '}';
        }
    }

    public class User implements Serializable {
        private String id;
        private String gmt_create;
        private String password;
        private int is_master;
        private String phone;
        private String name;
        private String nickname;
        private String user_mode;
        private String photo;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getGmt_create() {
            return gmt_create;
        }

        public void setGmt_create(String gmt_create) {
            this.gmt_create = gmt_create;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public int getIs_master() {
            return is_master;
        }

        public void setIs_master(int is_master) {
            this.is_master = is_master;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getUser_mode() {
            return user_mode;
        }

        public void setUser_mode(String user_mode) {
            this.user_mode = user_mode;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        @Override
        public String toString() {
            return "User{" +
                    "id=" + id +
                    ", gmt_create='" + gmt_create + '\'' +
                    ", password='" + password + '\'' +
                    ", is_master=" + is_master +
                    ", phone='" + phone + '\'' +
                    ", name='" + name + '\'' +
                    ", nickname='" + nickname + '\'' +
                    ", user_mode='" + user_mode + '\'' +
                    ", photo='" + photo + '\'' +
                    '}';
        }
    }
}
